{% extends 'base.html' %}
{% load comments %}

{% block content %}
	{{content_fragment|safe}}
{% endblock %}

{% block sidebar %}
{% include "share_this_page.html" %}
<h2>Mer information</h2>
{% if utredning %}
<p><span class="label">Utredning:</span> <a href="{{utredning.get_absolute_url}}">{{utredning.rubrik}}</a></p>{% endif %}
{% if item.tillagg_till %}
<p><span class="label">Tillägg till:</span> {{item.tillagg_till.rubrik}}</p>{% endif %}
{% if item.regeringssammantrade %}
<p><span class="label">Beslutad:</span> {{item.regeringssammantrade}}</p>{% endif %}
{% if item.redovisas %}
<p><span class="label">Redovisas:</span> {{item.redovisas}} <a href="/govtrack/dir/{{item.dir_nr}}.ics" class="calendar"><img src="/static/img/calendar.gif" alt="Lägg till i kalender" title="Lägg till i kalender"></a></p>{% endif %}
<p><span class="label">Departement:</span> <a href="{{item.departement.get_absolute_url}}">{{item.departement.name}}</a></p>
<p><span class="label">Inhämtningskälla:</span> <a href="{{item.url}}">Regeringskansliets rättsdatabaser</a></p>
{% if item.sfser.all %}
	<p><span class="label">Lagreferenser:</span> </p>
	<ul class="sfs">
		{% for ref in item.sfser.all %}
		<li><a href="{{ref.get_absolute_url}}">{{ref.rubrik}}</a></li>
		{% endfor %}
	</ul>
{% endif %}
{% if item.propositioner.all %}
	<p><span class="label">Propositioner:</span> </p>
	<ul class="propositioner">
		{% for ref in item.propositioner.all %}
		<li><a href="{{ref.get_absolute_url}}">{{ref.rubrik}}</a></li>
		{% endfor %}
	</ul>
{% endif %}
{% if item.eu_ratt.all %}
	<p><span class="label">EG-direktiv:</span> </p>
	<ul class="eurlex">
		{% for ref in item.eu_ratt.all %}
		<li><a href="{{ref.get_absolute_url}}">{{ref.celexnummer}}</a></li>
		{% endfor %}
	</ul>
{% endif %}
{% include "disqus_comments.html" %}
{% endblock %}

{% block endscripts %}
{% include "disqus_js.html" %}
{% endblock %}
